package com.carkeeper.billpay.service;

import com.carkeeper.billpay.pojo.PayLog;
import com.carkeeper.entity.Result;
import com.github.pagehelper.PageInfo;

import java.util.Map;

public interface PayLogService {

    /**
     * 根据订单号查询账单详情
     * @param id
     * @return 账单显示的组合实体
     */
    Result<Map> findBillCode(Integer id);

    /**
     * 已支付的支付单查询
     * @param searchMap
     * @return
     */
    PageInfo<PayLog> findPayLogListByCondition(Map<String,String> searchMap);

    /**
     * 添加支付记录
     * @param payLog
     * @return
     */
    int addPayLog(PayLog payLog);


    int findTotalMoneyByDate(String date);

}
